var status = -1;

function action(h, e, d) {
    var c = cm.getEventManager("副本_列娜海峡_迷路的诺拉");
    var b = c.getInstance("副本_列娜海峡_迷路的诺拉");
    var g = c.getMapFactoryMap(cm.getMapId());
    for (var a = 0; a < 15; a++) {
        var f = c.getMonster(3502000);
        b.registerMonster(f);
        g.spawnMonsterOnGroundBelow(f, new java.awt.Point(cm.rand(-800, 400), 180));
        var f = c.getMonster(3502001);
        b.registerMonster(f);
        g.spawnMonsterOnGroundBelow(f, new java.awt.Point(cm.rand(-800, 400), 180))
    }
    cm.sendOk("请消灭我周围的怪物！\r\n#b（消灭所有怪物后，再次对话。）", 1514002);
    cm.dispose()
}

function start() {
    status = -1;
    action(1, 0, 0)
};